package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "users_score")
public class UsersScore implements java.io.Serializable{

    private ObjectId id;
    private ObjectId questionnaireId;   //问卷id
    private Long userId;    //用户id
    private Integer userScore;   //用户得分
    private Integer isLock;     //是否上锁
    private Long created; 	//创建时间



}
